class Cat:
    def __init__(self, name):
        self.name = name
    @classmethod
    def new_cat(cls, name):
        return cls(name)
    def miao(self):
        print( "miaomiao")

        cat=Cat("mimi")
        print(cat.name)
        cat.miao()
        Cat.miao(cat)